package org.example.cake.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Admin {
    /**
    * 管理员id
    */
    private Integer id;

    /**
    * 管理员账户
    */
    private String username;

    /**
    * 管理员密码
    */
    private String password;
}